/* 修改container的最大宽度为1280px */
@media screen and (min-width: 1280px) {
   .container {
      width: 1280px;
   }
}

/* 引入字体图标 */
@font-face {
   font-family: 'iconfont';
   src: url('../font/iconfont.ttf?t=1689088418783') format('truetype');
}

.iconfont {
   font-family: "iconfont" !important;
   font-size: 16px;
   font-style: normal;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

a {
   text-decoration: none;
   color: #666;
}

body {
   background-color: #f5f5f5;
}

.container {
   background-color: #fff;
}

/* header */
header {
   padding-left: 0 !important;
}

.logo {
   background-color: #428ad9;
}

.logo img {
   /* width: 100%; */
   /* logo图片不需要缩放 */
   max-width: 100%;
   display: block;
   margin: 0 auto;
}

/* 如果进入超小屏幕 logo里面的图片就隐藏起来 */
/* 事先准备一个盒子在logo里面，平时隐藏，只有在超小屏幕显示 */
.logo span {
   display: block;
   height: 50px;
   line-height: 50px;
   color: #fff;
   font-size: 18px;
   text-align: center;
}

.nav1 {
   background-color: #eee;
   border-bottom: 1px solid #ccc;
}

/* 当我们进入小屏幕和超小屏幕的时候，我们nav里面的li浮动起来并且宽度为20% */
@media screen and (max-width:767px) {
   .nav1 li {
      float: left;
      width: 20%;
      background-color: #eee;
      border-bottom: 1px solid #ccc;
   }

   article {
      padding-top: 10px;
   }
}

/* 当我们进入超小屏幕 nav中文字会变小 */
@media screen and (max-width:575px) {
   .nav1 li a {
      font-size: 14px;
   }

   /* news下的第一个li宽度为100% 剩下的小li为50% */
   .news ul li {
      width: 50%;
   }

   .news ul li:nth-child(1) {
      width: 100%;
   }
}

.nav1 a {
   display: block;
   height: 50px;
   line-height: 50px;
   padding-left: 10%;
   font-size: 16px;
}

.nav1 span {
   vertical-align: middle;
   padding-right: 5px;
}

.nav1 a:hover {
   background-color: #fff;
   color: #333;
}

.news {
   height: 266px;
}

.news li {
   float: left;
   height: 128px;
   width: 25%;
   padding-right: 10px;
   margin-bottom: 10px;
}

.news li:nth-child(1) {
   height: 266px;
   width: 50%;
}

.news li:nth-child(2n+3) {
   padding-right: 0;
}

.news li:nth-child(1) p {
   line-height: 41px;
   font-size: 16px;
   padding: 0 10px;
}

/* .news li:nth-child(n+4) {
   margin-top: 10px;
} */

.news li a {
   width: 100%;
   height: 100%;
   display: block;
   position: relative;
}

.news li a img {
   width: 100%;
   height: 100%;
}

.news li a p {
   position: absolute;
   bottom: 0;
   left: 0;
   background-color: rgba(0, 0, 0, 0.5);
   color: #fff;
   font-size: 12px;
   width: 100%;
   height: 41px;
   margin-bottom: 0;
   padding: 5px 10px;
}

.publish {
   border-top: 1px solid #ccc;
   margin-top: 10px;
}

.publish .row {
   border-bottom: 1px solid #ccc;
}

.publish .row:nth-child(1) {
   border-top: 1px solid #ccc;
}

.publish .row:last-child {
   margin-bottom: 10px;
}

.publish .row h3,
p {
   padding: 10px 10px 0;
}

.publish .row img {
   width: 100%;
   padding: 80px 0 0;
}

.banner img {
   width: 100%;
}

.hot {
   display: block;
   margin-top: 20px;
   border: 1px solid #ccc;
   padding: 0 10px 20px;
}

.hot span,
h4 {
   margin-left: 10px;
}

.hot p {
   font-size: 14px;
}